<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<script type='text/javascript'>
HOST = 'http://127.0.01';
ROOT = 'http://127.0.01/jmshop';
WEB = 'http://127.0.01/jmshop/index.php';
URL = 'http://127.0.01/jmshop/index.php/Index/Mine/index';
APP = 'http://127.0.01/jmshop/Application';
COMMON = 'http://127.0.01/jmshop/Application/Common';
HDPHP = 'http://127.0.01/jmshop/hdphp';
HDPHP_DATA = 'http://127.0.01/jmshop/hdphp/Data';
HDPHP_EXTEND = 'http://127.0.01/jmshop/hdphp/Extend';
MODULE = 'http://127.0.01/jmshop/index.php/Index';
CONTROLLER = 'http://127.0.01/jmshop/index.php/Index/Mine';
ACTION = 'http://127.0.01/jmshop/index.php/Index/Mine/index';
STATIC = 'http://127.0.01/jmshop/Static';
HDPHP_TPL = 'http://127.0.01/jmshop/hdphp/Lib/Tpl';
VIEW = 'http://127.0.01/jmshop/Application/Index/View';
PUBLIC = 'http://127.0.01/jmshop/Application/Index/View/Public';
CONTROLLER_VIEW = 'http://127.0.01/jmshop/Application/Index/View/Mine';
HISTORY = 'http://127.0.01/jmshop/index.php/Index/List/index';
TEMPLATE = 'http://127.0.01/jmshop/template/default';
</script>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>mine</title>
	<script type="text/javascript" src="http://127.0.01/jmshop/template/default/js/jquery-1.8.2.min.js"></script>
	<script type="text/javascript" src="http://127.0.01/jmshop/template/default/js/mine.js"></script>
	<link rel="stylesheet" href="http://127.0.01/jmshop/template/default/css/mine.css" />
	<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
</head>
<body>
	<!-- 网站头部开始 -->
	<div id="head">
		<div class="head_bar">
			<div class="middle_bar">
			<!-- 左边 -->
			    <?php if(!isset($_SESSION['uid']) && !isset($_SESSION['username'])){ ?>
				<span class="welcome">欢迎来到聚美!</span>
				<span class="welcome">
					<a href="<?php echo U('Index/Login/index');?>" class="pless_log">请登录</a>
				</span>
				<span class="welcome">
					<a href="<?php echo U('Index/Reg/index');?>" class="pless_reg">快速注册</a>
				</span>
			<?php }else{ ?>
				<span class="welcome">欢迎您,</span>
				<span class="yidengluming"><?php echo $hd['session']['username'];?></span>
				<a href="<?php echo U('Index/Login/out');?>" class="out">[退出]</a>
			<?php } ?>
				<div class="beijing">送至&nbsp北京<a href="" class="jiao"></a></div>
				<!-- 右边 -->
				<div class="more">
				更多<span class="jiao"></span>
				<div class="more_hide">
					<ul class="more_nav">
						<li><a href="">邀请好友</a></li>
						<li><a href="">加入收藏</a></li>
						<li><a href="">新浪微博</a></li>
						<li><a href="">聚美微博</a></li>
						<li><a href="">百度贴吧</a></li>
						<li><a href="">腾讯微博</a></li>
						<li><a href="">人人公众主页</a></li>
						
					</ul>
					
				</div>
				</div>
				<div class="kind"><span class="cha"></span>查看分类</div>
				<span class="xian">|</span>	
				<div class="kb"><a href="" class="hand"></a><a href="">口碑中心</a></div>
				<div class="sj"><a href="" class="phone"></a><a href="">手机聚美</a></div>
				<span class="xian">|</span>
				<div class="my_jm">
					我的聚美<span class="jiao"></span>
					<div class="my_hidden">
						<ul class="sub_nav">
							<li><a href="<?php echo U('Index/Mine/index');?>">我的订单</a></li>
							<li><a href="">我的现金券</a></li>
							<li><a href="">我的红包</a></li>
							<li><a href="">我的余额</a></li>
							<li><a href="">我的提现退款</a></li>
							<li><a href="">我的收藏</a></li>
							<li><a href="">我的心愿单</a></li>
							<li><a href="">会员中心</a></li>
							<li><a href="">兑换礼品</a></li>
						</ul>
						
					</div>
				</div>	
				<span class="save">
					<a href="" class="heart"></a><a href="">收藏的品牌</a>
				</span>
				<span class="cha_xun">
					<a href="">订单查询</a>
				</span>
			</div>
			
		</div>
		<!-- 收缩区域开始 -->
		<div id="search">
			<img src="http://127.0.01/jmshop/template/default/image/logo_new_v1.jpg" alt="" class="logo"/>
			<img src="http://127.0.01/jmshop/template/default/image/mz_logo.jpg" alt="" class="logo1"/>
			<div class="search_bar">
				<form class="kuang" method="post" action="">
					<input type="text"  class="sou" value="护手霜" />
					<div class="btn">搜美妆</div>
				</form>
				<span class="link">
					<a href="" class="bs">保湿</a>
					<a href="">面膜</a>
					<a href="">洗面奶</a>
					<a href="">补水</a>
					<a href="">香水</a>
					<a href="">眼霜</a>
					<a href="">口红</a>
					<a href="">护肤套装</a>
					<a href="">BB霜</a>
				</span>
			</div>
			<div class="cash">
				<span class="bao"><img src="http://127.0.01/jmshop/template/default/image/cart.gif" alt="" /></span>
				<a href="" class="kk">去购物车结算</a>
				<span class="jiao"></span>
				<div class="jiesuan_hidden">
					<ul class="up">
					
					</ul>
					<div class="down">
						<a href="<?php echo U('Index/JieSuan/index');?>" class="che">去购物车结算</a>
						<div class="che_left">
							<span class="gong">共<i><?php echo $cartTotalNum;?></i>件商品</span>
							<span class="total">共计<i>￥</i><span class="num"><?php echo $cartTotalPrice;?></span></span>
						</div>
					</div>
				</div>
			</div>
			

		</div>
		
	</div>
	<div id="nav">
		<div class="middle">
		<ul class="dao_hang">
			<li class="free"><a href="<?php echo U('Index/Index/index');?>">首页</a></li>
			<?php foreach ($cate as $k=>$v){?>
				<li class="free"><a href="<?php echo U('Index/List/index');?>"><?php echo $v['cname'];?></a></li>
			<?php }?>
		</ul>
		<ul class="biao">
			<li><a href=""><img src="http://127.0.01/jmshop/template/default/image/z_01new.jpg" alt="" /></a></li>
			<li><a href=""><img src="http://127.0.01/jmshop/template/default/image/z02.jpg" alt="" /></a></li>
			<li><a href=""><img src="http://127.0.01/jmshop/template/default/image/z03.jpg" alt="" /></a></li>
		</ul>
			
		</div>
				
	</div>
	<!-- 网站头部结束 -->
	<!-- 网站头部结束 -->
	<!-- 中间部分开始 -->
	<div class="mine">
		<div class="left">
			<div class="left_head">
				<img src="http://127.0.01/jmshop/template/default/image/shangpin/avatar_small.png" alt="" class="photo" />
				<div class="name">
					<span class="bianhao">JM183XCAN1</span>
					<span class="jibie">普通会员</span>
				</div>
				<div class="id">
					用户ID:<span class="hao">82329494</span>	
				</div>
			</div>
			<dl class="my_jm">
				<dt><span class="biao"></span><span class="biao_tou">我的聚美优品</span></dt>
				<dd>
					<a href="">
						<p class="xiao_biao"></p>
						<span class="name">我的订单</span>
					</a>
				</dd>
				<dd>
					<a href="">
						<p class="xiao_biao_cang"></p>
						<span class="name">我的收藏</span>
					</a>
				</dd>
				<dd>
					<a href="">
						<p class="xiao_biao_xin"></p>
						<span class="name">我的心愿单</span>
					</a>
				</dd>
				<dd>
					<a href="">
						<p class="xiao_biao_vip"></p>
						<span class="name">我的会员等级</span>
					</a>
				</dd>
				<dd>
					<a href="">
						<p class="xiao_biao_cash"></p>
						<span class="name">我的现金券</span>
					</a>
				</dd>
				<dd>
					<a href="">
						<p class="xiao_biao_bao"></p>
						<span class="name">我的红包</span>
					</a>
				</dd>
				<dd>
					<a href="">
						<p class="xiao_biao_gold"></p>
						<span class="name">我的金币</span>
					</a>
				</dd>
				<dd>
					<a href="">
						<p class="xiao_biao_yaoqing"></p>
						<span class="name">我的邀请码</span>
					</a>
				</dd>
				<dd>
					<a href="">
						<p class="xiao_biao_free"></p>
						<span class="name">我的Free派</span>
					</a>
				</dd>
				<dd>
					<a href="">
						<p class="xiao_biao_size"></p>
						<span class="name">我的尺码</span>
					</a>
				</dd>
				<dd>
					<a href="">
						<p class="xiao_biao_mail"></p>
						<span class="name">订阅邮件短信</span>
					</a>
				</dd>
				
			</dl>
			<dl class="my_guanli">
				<dt><span class="biao"></span><span class="biao_tou">管理个人账户</span></dt>
				<dd>
					<a href="">
						<p class="xiao_biao_balance"></p>
						<span class="name">我的余额</span>
					</a>
				</dd>
				<dd>
					<a href="">
						<p class="xiao_biao_tuikuan"></p>
						<span class="name">我的提现退款</span>
					</a>
				</dd>
				<dd>
					<a href="">
						<p class="xiao_biao_zhanghu"></p>
						<span class="name">设置账户信息</span>
					</a>
				</dd>
				<dd>
					<a href="">
						<p class="xiao_biao_mima"></p>
						<span class="name">修改密码</span>
					</a>
				</dd>
			</dl>
			
		</div>
		<div class="right">
			<div class="right_head">
				<span class="dingdan">我的订单</span>
				<a href="" class="shouji_chawuliu">手机客户端，随时随地查看物流详情</a>
			</div>
			<div class="show">
				<div class="dingdan">
					<ul class="head">
						<li class="biaoqian"><a href="">全部订单</a></li>
						<li class="biaoqian"><a href="">等待付款</a></li>
						<li class="biaoqian"><a href="">已付款</a></li>
						<li class="biaoqian"><a href="">交易完成</a></li>
						<li class="biaoqian"><a href="">预售订单</a></li>
					</ul>
					<div class="below">
						<table class="content">
							
								<tbody>
									<tr>
										<th class="msg">订单信息</th>
										<th class="goods">订购商品</th>
										<th class="num">件数</th>
										<th class="price">单价</th>
										<th class="doing">商品操作</th>
										<th class="status">订单状态</th>
										<th class="caozuo">订单操作</th>
									</tr>
									<?php foreach ($orderData as $k=>$v){?>
										<tr class="neirong">
											<td class="info">
												<p><span>订单号:</span><span><?php echo $v['number'];?></span></p>
												<p><span>交易单号:</span><span><?php echo $v['jynum'];?></span></p>
												<p><span>商品金额:</span><span>￥</span><span><?php echo $v['total'];?></span></p>
												<p>由聚美发货</p>
											</td>
											<td class="pic">
												<a href="">
													<img src="http://127.0.01/jmshop/<?php echo $v['pic'];?>" alt="" />
												</a>
											</td>
											<td class="goodsnum"><?php echo $v['quantity'];?></td>
											<td class="goodprice">
												<p>
													<span>￥</span>
													<span><?php echo $v['price'];?></span>
												</p>
											</td>
											<td class="gooddoing">
												<a href="">再次购买</a>
											</td>
											<td class="liststatus">
												<span>已取消</span>
											</td>
											<td class="listcaozuo">
												<a href="">查看详情</a>
											</td>
										</tr>
									<?php }?>
								</tbody>
							
						</table>
					</div>
				</div>
			</div>
		</div>
		
	</div>

	
</body>
</html>